﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SpeakOut.Data.Interfaces
{
    public interface IBaseDao<T>
    {
        T FindById(Guid id);
        T FindByIdAndLock(Guid id);
        IList<T> FindAll();
        T MakePersistent(T entity);
        void MakeTransient(T entity);
    }
}